﻿using LVYAN.Model;
using LVYAN.Service;
using LVYAN.Service.AIAPI;
using LVYAN.Utils;
using System;
using System.Runtime.Intrinsics.Arm;
using Win;
namespace LVYAN.WechatAutomation
{
    /// <summary>
    /// 
    /// </summary>
    class Restart
    {

//        @echo off
//chcp 65001 > nul
//REM 强制设置编码为UTF-8（可选，如果程序输出中文日志则需要）

//REM 显式设置程序可能需要的环境变量
//REM 例如，如果你有其他依赖项，可以添加到PATH中
//REM set PATH = D:\Some\Dependencies;%PATH%

//REM 最关键的一步：切换到程序所在的目录
//cd /d "D:\publish\"

//REM 启动程序
//echo[% date % % time %] Program started. >> "D:\publish\run_log.txt"
//"D:\publish\LVYAN.WechatAutomation.exe"

//REM 记录结束状态（可选）
//if %errorlevel% equ 0 (
//    echo[% date % % time %] Program exited successfully. >> "D:\publish\run_log.txt"
//) else (
//    echo[% date % % time %] Program exited with error code: %errorlevel%. >> "D:\publish\run_log.txt"
//)

//pause

    }
}
